/**
 * CS575 Software Design
 * Group 6
 * Group Members: Anthony Davidson, Kendra Scheesley, Lyndsey Whitman, Stephen Zakrewsky
 * Date: May 19, 2012
 * Main Author(s): Lyndsey Whitman
 * 
 * Modified: 6/1 Stephen Zakrewsky
 */

package edu.drexel.cs575.a3;

import edu.drexel.cs575.a3.location.LocaleEnum;
import edu.drexel.cs575.a3.location.Location;
import edu.drexel.cs575.a3.location.LocationProvider;

public class LocaleHeader extends BillDecorator
{
	public LocaleHeader(Bill myBill)
	{
		super(myBill);
	}
	
	public void printBill()
	{
		// A header stating the locale and date
		Location location = LocationProvider.getInstance().getLocation();
		LocaleEnum localeEnum = location.getLocaleEnum();
		
		display("Locale: " + localeEnum.getCountryName());

		super.printBill();
	}
}
